[INFO] cloning repository https://github.com/Shikugawa/rena
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shikugawa/rena" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShikugawa%2Frena", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShikugawa%2Frena'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6c698c9e8e73334d1e28f7df380d08302f1ddb2a
[INFO] fixing Shikugawa/rena against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShikugawa%2Frena" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Shikugawa/rena
[INFO] removed 1 missing examples
[INFO] finished tweaking git repo https://github.com/Shikugawa/rena
[INFO] tweaked toml for git repo https://github.com/Shikugawa/rena written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Shikugawa/rena on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Shikugawa/rena already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0df40d7fb5467fc150f97aeea85bcbbd5baea3f460245f2e8f372baba211112e
[INFO] running `Command { std: "docker" "start" "0df40d7fb5467fc150f97aeea85bcbbd5baea3f460245f2e8f372baba211112e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0df40d7fb5467fc150f97aeea85bcbbd5baea3f460245f2e8f372baba211112e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0df40d7fb5467fc150f97aeea85bcbbd5baea3f460245f2e8f372baba211112e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0df40d7fb5467fc150f97aeea85bcbbd5baea3f460245f2e8f372baba211112e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling libc v0.2.117
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking pin-project-lite v0.2.8
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling anyhow v1.0.53
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]     Checking lock_api v0.4.6
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking slab v0.4.5
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]     Checking tracing-core v0.1.22
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling which v4.2.4
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking getrandom v0.2.5
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling prost-build v0.9.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking http v0.2.6
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling fixedbitset v0.4.1
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling petgraph v0.6.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling async-trait v0.1.52
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling nom v7.1.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.7
[INFO] [stderr]     Checking tower-layer v0.3.1
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking flate2 v1.0.22
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking thread_local v1.1.4
[INFO] [stderr]     Checking sharded-slab v0.1.4
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking crossbeam-channel v0.5.2
[INFO] [stderr]     Checking nix v0.23.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.9
[INFO] [stderr]     Checking hdrhistogram v7.5.0
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling prost-derive v0.9.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.19
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling async-stream-impl v0.3.2
[INFO] [stderr]     Checking async-stream v0.3.2
[INFO] [stderr]     Checking tokio v1.16.1
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking tracing v0.1.30
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]    Compiling prost v0.9.0
[INFO] [stderr]     Checking prost-types v0.9.0
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]    Compiling tonic-build v0.6.2
[INFO] [stderr]    Compiling console-api v0.1.2
[INFO] [stderr]     Checking futures-executor v0.3.21
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]     Checking tokio-util v0.7.0
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]     Checking tokio-stream v0.1.8
[INFO] [stderr]     Checking rena v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]     Checking tower v0.4.12
[INFO] [stderr]     Checking h2 v0.3.11
[INFO] [stderr]        Fixed src/layers/tcp_layer.rs (1 fix)
[INFO] [stderr]        Fixed src/tcp/active_session.rs (1 fix)
[INFO] [stderr]        Fixed src/frames/icmp.rs (1 fix)
[INFO] [stderr]        Fixed src/headers/iface.rs (26 fixes)
[INFO] [stderr]        Fixed src/io/thread_event_handler.rs (1 fix)
[INFO] [stderr]        Fixed src/frames/ipv4.rs (2 fixes)
[INFO] [stderr]        Fixed src/frames/tcp.rs (1 fix)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/layers/icmp_layer.rs:48:51
[INFO] [stdout]    |
[INFO] [stdout] 48 |             if let Some(icmp_frame) = self.poll().await {
[INFO] [stdout]    |                                       ------------^^^^^
[INFO] [stdout]    |                                       |           |
[INFO] [stdout]    |                                       |           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |                                       |           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]    |                                       `__awaitee` calls a custom destructor
[INFO] [stdout]    |                                       `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 56 |         }
[INFO] [stdout]    |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/layers/tcp_layer.rs:204:19
[INFO] [stdout]     |
[INFO] [stdout] 204 |             match self.poll().await { Some(tcp_frame) => {
[INFO] [stdout]     |                   ^^^^^^^^^^^^-----        ---------
[INFO] [stdout]     |                   |           |            |
[INFO] [stdout]     |                   |           |            `tcp_frame` calls a custom destructor
[INFO] [stdout]     |                   |           |            `tcp_frame` will be dropped later as of Edition 2024
[INFO] [stdout]     |                   |           this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                   |           up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                   |           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                   |           `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                   this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                   up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                   `__awaitee` calls a custom destructor
[INFO] [stdout]     |                   `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 211 |         }
[INFO] [stdout]     |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.1.0/src/bytes_mut.rs:925:1
[INFO] [stdout]     |
[INFO] [stdout] 925 | impl Drop for BytesMut {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.1.0/src/bytes_mut.rs:925:1
[INFO] [stdout]     |
[INFO] [stdout] 925 | impl Drop for BytesMut {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `tcp_frame` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.1.0/src/bytes_mut.rs:925:1
[INFO] [stdout]     |
[INFO] [stdout] 925 | impl Drop for BytesMut {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/layers/ether_layer.rs:40:28
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let res = unsafe { ARP_TABLE.lookup(dipaddr) };
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut ARP_TABLE: Lazy<ArpTable> = Lazy::new(|| ArpTable::new());
[INFO] [stdout] 12 + static ARP_TABLE: Lazy<ArpTable> = Lazy::new(|| ArpTable::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/layers/ether_layer.rs:52:44
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 if let Err(err) = unsafe { ARP_TABLE.add(dipaddr, smacaddr) } {
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut ARP_TABLE: Lazy<ArpTable> = Lazy::new(|| ArpTable::new());
[INFO] [stdout] 12 + static ARP_TABLE: Lazy<ArpTable> = Lazy::new(|| ArpTable::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:192:18
[INFO] [stdout]     |
[INFO] [stdout] 192 |         unsafe { THREAD_LOCAL_STORAGE.get_ethernet(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:196:18
[INFO] [stdout]     |
[INFO] [stdout] 196 |         unsafe { THREAD_LOCAL_STORAGE.get_arp(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:200:18
[INFO] [stdout]     |
[INFO] [stdout] 200 |         unsafe { THREAD_LOCAL_STORAGE.get_ipv4(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:204:18
[INFO] [stdout]     |
[INFO] [stdout] 204 |         unsafe { THREAD_LOCAL_STORAGE.get_tcp(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:208:18
[INFO] [stdout]     |
[INFO] [stdout] 208 |         unsafe { THREAD_LOCAL_STORAGE.get_icmp(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:218:17
[INFO] [stdout]     |
[INFO] [stdout] 218 |     if unsafe { THREAD_LOCAL_STORAGE.is_thread_layer_exist(thread_id) } {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 | /         THREAD_LOCAL_STORAGE.set_ethernet(
[INFO] [stdout] 226 | |             thread_id,
[INFO] [stdout] 227 | |             EthernetLayer::new(smacaddr, event_handler, storage, thread_id),
[INFO] [stdout] 228 | |         );
[INFO] [stdout]     | |_________^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 | /         THREAD_LOCAL_STORAGE.set_arp(
[INFO] [stdout] 230 | |             thread_id,
[INFO] [stdout] 231 | |             ArpLayer::new(smacaddr, sipaddr, storage, thread_id),
[INFO] [stdout] 232 | |         );
[INFO] [stdout]     | |_________^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |         THREAD_LOCAL_STORAGE.set_ipv4(thread_id, Ipv4Layer::new(sipaddr, storage, thread_id));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |         THREAD_LOCAL_STORAGE.set_tcp(thread_id, TcpLayer::new(storage, sipaddr, thread_id));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:246:17
[INFO] [stdout]     |
[INFO] [stdout] 246 |     if unsafe { THREAD_LOCAL_STORAGE.is_thread_layer_exist(thread_id) } {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 | /         THREAD_LOCAL_STORAGE.set_ethernet(
[INFO] [stdout] 254 | |             thread_id,
[INFO] [stdout] 255 | |             EthernetLayer::new(smacaddr, event_handler, storage, thread_id),
[INFO] [stdout] 256 | |         );
[INFO] [stdout]     | |_________^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:257:9
[INFO] [stdout]     |
[INFO] [stdout] 257 | /         THREAD_LOCAL_STORAGE.set_arp(
[INFO] [stdout] 258 | |             thread_id,
[INFO] [stdout] 259 | |             ArpLayer::new(smacaddr, sipaddr, storage, thread_id),
[INFO] [stdout] 260 | |         );
[INFO] [stdout]     | |_________^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 261 |         THREAD_LOCAL_STORAGE.set_ipv4(thread_id, Ipv4Layer::new(sipaddr, storage, thread_id));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:262:9
[INFO] [stdout]     |
[INFO] [stdout] 262 |         THREAD_LOCAL_STORAGE.set_icmp(thread_id, IcmpLayer::new(storage, thread_id));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking hyper v0.14.17
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking tonic v0.6.2
[INFO] [stderr]     Checking console-subscriber v0.1.3
[INFO] [stderr]    Migrating examples/tcp_local.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/layers/icmp_layer.rs:48:51
[INFO] [stdout]    |
[INFO] [stdout] 48 |             if let Some(icmp_frame) = self.poll().await {
[INFO] [stdout]    |                                       ------------^^^^^
[INFO] [stdout]    |                                       |           |
[INFO] [stdout]    |                                       |           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |                                       |           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]    |                                       `__awaitee` calls a custom destructor
[INFO] [stdout]    |                                       `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 56 |         }
[INFO] [stdout]    |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/layers/tcp_layer.rs:204:19
[INFO] [stdout]     |
[INFO] [stdout] 204 |             match self.poll().await { Some(tcp_frame) => {
[INFO] [stdout]     |                   ^^^^^^^^^^^^-----        ---------
[INFO] [stdout]     |                   |           |            |
[INFO] [stdout]     |                   |           |            `tcp_frame` calls a custom destructor
[INFO] [stdout]     |                   |           |            `tcp_frame` will be dropped later as of Edition 2024
[INFO] [stdout]     |                   |           this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                   |           up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                   |           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                   |           `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                   this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                   up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                   `__awaitee` calls a custom destructor
[INFO] [stdout]     |                   `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 211 |         }
[INFO] [stdout]     |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.1.0/src/bytes_mut.rs:925:1
[INFO] [stdout]     |
[INFO] [stdout] 925 | impl Drop for BytesMut {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.1.0/src/bytes_mut.rs:925:1
[INFO] [stdout]     |
[INFO] [stdout] 925 | impl Drop for BytesMut {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `tcp_frame` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.1.0/src/bytes_mut.rs:925:1
[INFO] [stdout]     |
[INFO] [stdout] 925 | impl Drop for BytesMut {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/layers/ether_layer.rs:40:28
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let res = unsafe { ARP_TABLE.lookup(dipaddr) };
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut ARP_TABLE: Lazy<ArpTable> = Lazy::new(|| ArpTable::new());
[INFO] [stdout] 12 + static ARP_TABLE: Lazy<ArpTable> = Lazy::new(|| ArpTable::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/layers/ether_layer.rs:52:44
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 if let Err(err) = unsafe { ARP_TABLE.add(dipaddr, smacaddr) } {
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut ARP_TABLE: Lazy<ArpTable> = Lazy::new(|| ArpTable::new());
[INFO] [stdout] 12 + static ARP_TABLE: Lazy<ArpTable> = Lazy::new(|| ArpTable::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:192:18
[INFO] [stdout]     |
[INFO] [stdout] 192 |         unsafe { THREAD_LOCAL_STORAGE.get_ethernet(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:196:18
[INFO] [stdout]     |
[INFO] [stdout] 196 |         unsafe { THREAD_LOCAL_STORAGE.get_arp(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:200:18
[INFO] [stdout]     |
[INFO] [stdout] 200 |         unsafe { THREAD_LOCAL_STORAGE.get_ipv4(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:204:18
[INFO] [stdout]     |
[INFO] [stdout] 204 |         unsafe { THREAD_LOCAL_STORAGE.get_tcp(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:208:18
[INFO] [stdout]     |
[INFO] [stdout] 208 |         unsafe { THREAD_LOCAL_STORAGE.get_icmp(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:218:17
[INFO] [stdout]     |
[INFO] [stdout] 218 |     if unsafe { THREAD_LOCAL_STORAGE.is_thread_layer_exist(thread_id) } {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 | /         THREAD_LOCAL_STORAGE.set_ethernet(
[INFO] [stdout] 226 | |             thread_id,
[INFO] [stdout] 227 | |             EthernetLayer::new(smacaddr, event_handler, storage, thread_id),
[INFO] [stdout] 228 | |         );
[INFO] [stdout]     | |_________^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 | /         THREAD_LOCAL_STORAGE.set_arp(
[INFO] [stdout] 230 | |             thread_id,
[INFO] [stdout] 231 | |             ArpLayer::new(smacaddr, sipaddr, storage, thread_id),
[INFO] [stdout] 232 | |         );
[INFO] [stdout]     | |_________^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |         THREAD_LOCAL_STORAGE.set_ipv4(thread_id, Ipv4Layer::new(sipaddr, storage, thread_id));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |         THREAD_LOCAL_STORAGE.set_tcp(thread_id, TcpLayer::new(storage, sipaddr, thread_id));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/tcp_remote.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:246:17
[INFO] [stdout]     |
[INFO] [stdout] 246 |     if unsafe { THREAD_LOCAL_STORAGE.is_thread_layer_exist(thread_id) } {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 | /         THREAD_LOCAL_STORAGE.set_ethernet(
[INFO] [stdout] 254 | |             thread_id,
[INFO] [stdout] 255 | |             EthernetLayer::new(smacaddr, event_handler, storage, thread_id),
[INFO] [stdout] 256 | |         );
[INFO] [stdout]     | |_________^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:257:9
[INFO] [stdout]     |
[INFO] [stdout] 257 | /         THREAD_LOCAL_STORAGE.set_arp(
[INFO] [stdout] 258 | |             thread_id,
[INFO] [stdout] 259 | |             ArpLayer::new(smacaddr, sipaddr, storage, thread_id),
[INFO] [stdout] 260 | |         );
[INFO] [stdout]     | |_________^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 261 |         THREAD_LOCAL_STORAGE.set_ipv4(thread_id, Ipv4Layer::new(sipaddr, storage, thread_id));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:262:9
[INFO] [stdout]     |
[INFO] [stdout] 262 |         THREAD_LOCAL_STORAGE.set_icmp(thread_id, IcmpLayer::new(storage, thread_id));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/ping.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/pcap.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/tcp_local_large_body.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s
[INFO] [stderr] crater-edition-check: rena v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking rena v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/layers/icmp_layer.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::frames::icmp::{self, IcmpFrame, IcmpType};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/layers/thread_local_layer_storage.rs:10:25
[INFO] [stdout]    |
[INFO] [stdout] 10 | use super::icmp_layer::{self, IcmpLayer};
[INFO] [stdout]    |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/layers/icmp_layer.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::frames::icmp::{self, IcmpFrame, IcmpType};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/layers/thread_local_layer_storage.rs:10:25
[INFO] [stdout]    |
[INFO] [stdout] 10 | use super::icmp_layer::{self, IcmpLayer};
[INFO] [stdout]    |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/datalink/tap.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn read(&self, buf: &mut Buffer) -> isize {
[INFO] [stdout]    |                    ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/datalink/tap.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn write(&self, mut buf: BytesMut) -> DatalinkWriteStatus {
[INFO] [stdout]    |                     ----^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/datalink/tap.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn write(&self, mut buf: BytesMut) -> DatalinkWriteStatus {
[INFO] [stdout]    |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/frames/tcp.rs:159:21
[INFO] [stdout]     |
[INFO] [stdout] 159 |         if let Some(val) = verify_checksum(&raw_buf, header_length as usize) {
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timeout`
[INFO] [stdout]   --> src/layers/icmp_layer.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         timeout: Option<Duration>,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timeout`
[INFO] [stdout]    --> src/layers/tcp_layer.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         timeout: Option<Duration>,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `device`, `macaddr`, and `ipaddr` are never read
[INFO] [stdout]   --> src/datalink/tap.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct TapDevice {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 28 |     fd: AsyncFd<i32>,
[INFO] [stdout] 29 |     device: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 30 |     macaddr: MacAddr,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 31 |     ipaddr: Ipv4Addr,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `link_up` and `add_ipaddress` are never used
[INFO] [stdout]    --> src/datalink/tap.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl TapDevice {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     fn link_up(&self) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn add_ipaddress(&self, addr: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `options` is never read
[INFO] [stdout]    --> src/frames/ipv4.rs:189:5
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub struct Ipv4Frame {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 189 |     options: Option<BytesMut>, // if ihl > 5
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Ipv4Frame` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `options` is never read
[INFO] [stdout]   --> src/frames/tcp.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct TcpFrame {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 |     options: Option<BytesMut>, // if offset > 5
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TcpFrame` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/layers/ether_layer.rs:40:28
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let res = unsafe { ARP_TABLE.lookup(dipaddr) };
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut ARP_TABLE: Lazy<ArpTable> = Lazy::new(|| ArpTable::new());
[INFO] [stdout] 12 + static ARP_TABLE: Lazy<ArpTable> = Lazy::new(|| ArpTable::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/layers/ether_layer.rs:52:44
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 if let Err(err) = unsafe { ARP_TABLE.add(dipaddr, smacaddr) } {
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut ARP_TABLE: Lazy<ArpTable> = Lazy::new(|| ArpTable::new());
[INFO] [stdout] 12 + static ARP_TABLE: Lazy<ArpTable> = Lazy::new(|| ArpTable::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:192:18
[INFO] [stdout]     |
[INFO] [stdout] 192 |         unsafe { THREAD_LOCAL_STORAGE.get_ethernet(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:196:18
[INFO] [stdout]     |
[INFO] [stdout] 196 |         unsafe { THREAD_LOCAL_STORAGE.get_arp(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:200:18
[INFO] [stdout]     |
[INFO] [stdout] 200 |         unsafe { THREAD_LOCAL_STORAGE.get_ipv4(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:204:18
[INFO] [stdout]     |
[INFO] [stdout] 204 |         unsafe { THREAD_LOCAL_STORAGE.get_tcp(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:208:18
[INFO] [stdout]     |
[INFO] [stdout] 208 |         unsafe { THREAD_LOCAL_STORAGE.get_icmp(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:218:17
[INFO] [stdout]     |
[INFO] [stdout] 218 |     if unsafe { THREAD_LOCAL_STORAGE.is_thread_layer_exist(thread_id) } {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 | /         THREAD_LOCAL_STORAGE.set_ethernet(
[INFO] [stdout] 226 | |             thread_id,
[INFO] [stdout] 227 | |             EthernetLayer::new(smacaddr, event_handler, storage, thread_id),
[INFO] [stdout] 228 | |         );
[INFO] [stdout]     | |_________^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 | /         THREAD_LOCAL_STORAGE.set_arp(
[INFO] [stdout] 230 | |             thread_id,
[INFO] [stdout] 231 | |             ArpLayer::new(smacaddr, sipaddr, storage, thread_id),
[INFO] [stdout] 232 | |         );
[INFO] [stdout]     | |_________^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rena` (lib test) due to 17 previous errors; 12 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |         THREAD_LOCAL_STORAGE.set_ipv4(thread_id, Ipv4Layer::new(sipaddr, storage, thread_id));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |         THREAD_LOCAL_STORAGE.set_tcp(thread_id, TcpLayer::new(storage, sipaddr, thread_id));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:246:17
[INFO] [stdout]     |
[INFO] [stdout] 246 |     if unsafe { THREAD_LOCAL_STORAGE.is_thread_layer_exist(thread_id) } {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 | /         THREAD_LOCAL_STORAGE.set_ethernet(
[INFO] [stdout] 254 | |             thread_id,
[INFO] [stdout] 255 | |             EthernetLayer::new(smacaddr, event_handler, storage, thread_id),
[INFO] [stdout] 256 | |         );
[INFO] [stdout]     | |_________^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:257:9
[INFO] [stdout]     |
[INFO] [stdout] 257 | /         THREAD_LOCAL_STORAGE.set_arp(
[INFO] [stdout] 258 | |             thread_id,
[INFO] [stdout] 259 | |             ArpLayer::new(smacaddr, sipaddr, storage, thread_id),
[INFO] [stdout] 260 | |         );
[INFO] [stdout]     | |_________^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 261 |         THREAD_LOCAL_STORAGE.set_ipv4(thread_id, Ipv4Layer::new(sipaddr, storage, thread_id));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:262:9
[INFO] [stdout]     |
[INFO] [stdout] 262 |         THREAD_LOCAL_STORAGE.set_icmp(thread_id, IcmpLayer::new(storage, thread_id));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/datalink/tap.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn read(&self, buf: &mut Buffer) -> isize {
[INFO] [stdout]    |                    ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/datalink/tap.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn write(&self, mut buf: BytesMut) -> DatalinkWriteStatus {
[INFO] [stdout]    |                     ----^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/datalink/tap.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn write(&self, mut buf: BytesMut) -> DatalinkWriteStatus {
[INFO] [stdout]    |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/frames/tcp.rs:159:21
[INFO] [stdout]     |
[INFO] [stdout] 159 |         if let Some(val) = verify_checksum(&raw_buf, header_length as usize) {
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timeout`
[INFO] [stdout]   --> src/layers/icmp_layer.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         timeout: Option<Duration>,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timeout`
[INFO] [stdout]    --> src/layers/tcp_layer.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         timeout: Option<Duration>,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `device`, `macaddr`, and `ipaddr` are never read
[INFO] [stdout]   --> src/datalink/tap.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct TapDevice {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 28 |     fd: AsyncFd<i32>,
[INFO] [stdout] 29 |     device: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 30 |     macaddr: MacAddr,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 31 |     ipaddr: Ipv4Addr,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `link_up` and `add_ipaddress` are never used
[INFO] [stdout]    --> src/datalink/tap.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl TapDevice {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     fn link_up(&self) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn add_ipaddress(&self, addr: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `options` is never read
[INFO] [stdout]    --> src/frames/ipv4.rs:189:5
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub struct Ipv4Frame {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 189 |     options: Option<BytesMut>, // if ihl > 5
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Ipv4Frame` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `options` is never read
[INFO] [stdout]   --> src/frames/tcp.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct TcpFrame {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 |     options: Option<BytesMut>, // if offset > 5
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TcpFrame` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/layers/ether_layer.rs:40:28
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let res = unsafe { ARP_TABLE.lookup(dipaddr) };
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut ARP_TABLE: Lazy<ArpTable> = Lazy::new(|| ArpTable::new());
[INFO] [stdout] 12 + static ARP_TABLE: Lazy<ArpTable> = Lazy::new(|| ArpTable::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/layers/ether_layer.rs:52:44
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 if let Err(err) = unsafe { ARP_TABLE.add(dipaddr, smacaddr) } {
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut ARP_TABLE: Lazy<ArpTable> = Lazy::new(|| ArpTable::new());
[INFO] [stdout] 12 + static ARP_TABLE: Lazy<ArpTable> = Lazy::new(|| ArpTable::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:192:18
[INFO] [stdout]     |
[INFO] [stdout] 192 |         unsafe { THREAD_LOCAL_STORAGE.get_ethernet(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:196:18
[INFO] [stdout]     |
[INFO] [stdout] 196 |         unsafe { THREAD_LOCAL_STORAGE.get_arp(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:200:18
[INFO] [stdout]     |
[INFO] [stdout] 200 |         unsafe { THREAD_LOCAL_STORAGE.get_ipv4(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:204:18
[INFO] [stdout]     |
[INFO] [stdout] 204 |         unsafe { THREAD_LOCAL_STORAGE.get_tcp(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:208:18
[INFO] [stdout]     |
[INFO] [stdout] 208 |         unsafe { THREAD_LOCAL_STORAGE.get_icmp(thread_id) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:218:17
[INFO] [stdout]     |
[INFO] [stdout] 218 |     if unsafe { THREAD_LOCAL_STORAGE.is_thread_layer_exist(thread_id) } {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 | /         THREAD_LOCAL_STORAGE.set_ethernet(
[INFO] [stdout] 226 | |             thread_id,
[INFO] [stdout] 227 | |             EthernetLayer::new(smacaddr, event_handler, storage, thread_id),
[INFO] [stdout] 228 | |         );
[INFO] [stdout]     | |_________^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 | /         THREAD_LOCAL_STORAGE.set_arp(
[INFO] [stdout] 230 | |             thread_id,
[INFO] [stdout] 231 | |             ArpLayer::new(smacaddr, sipaddr, storage, thread_id),
[INFO] [stdout] 232 | |         );
[INFO] [stdout]     | |_________^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |         THREAD_LOCAL_STORAGE.set_ipv4(thread_id, Ipv4Layer::new(sipaddr, storage, thread_id));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |         THREAD_LOCAL_STORAGE.set_tcp(thread_id, TcpLayer::new(storage, sipaddr, thread_id));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:246:17
[INFO] [stdout]     |
[INFO] [stdout] 246 |     if unsafe { THREAD_LOCAL_STORAGE.is_thread_layer_exist(thread_id) } {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 | /         THREAD_LOCAL_STORAGE.set_ethernet(
[INFO] [stdout] 254 | |             thread_id,
[INFO] [stdout] 255 | |             EthernetLayer::new(smacaddr, event_handler, storage, thread_id),
[INFO] [stdout] 256 | |         );
[INFO] [stdout]     | |_________^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:257:9
[INFO] [stdout]     |
[INFO] [stdout] 257 | /         THREAD_LOCAL_STORAGE.set_arp(
[INFO] [stdout] 258 | |             thread_id,
[INFO] [stdout] 259 | |             ArpLayer::new(smacaddr, sipaddr, storage, thread_id),
[INFO] [stdout] 260 | |         );
[INFO] [stdout]     | |_________^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 261 |         THREAD_LOCAL_STORAGE.set_ipv4(thread_id, Ipv4Layer::new(sipaddr, storage, thread_id));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/layers/thread_local_layer_storage.rs:262:9
[INFO] [stdout]     |
[INFO] [stdout] 262 |         THREAD_LOCAL_STORAGE.set_icmp(thread_id, IcmpLayer::new(storage, thread_id));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 185 - static mut THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout] 185 + static THREAD_LOCAL_STORAGE: Lazy<ThreadLocalStorage> = Lazy::new(|| ThreadLocalStorage::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rena` (lib) due to 17 previous errors; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0df40d7fb5467fc150f97aeea85bcbbd5baea3f460245f2e8f372baba211112e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0df40d7fb5467fc150f97aeea85bcbbd5baea3f460245f2e8f372baba211112e", kill_on_drop: false }`
[INFO] [stdout] 0df40d7fb5467fc150f97aeea85bcbbd5baea3f460245f2e8f372baba211112e
